package top.liujiachen.springboot.shiro.entity;

public class SysRole {

    private Long id;

    private String name;

    private String code;

    private String permissions;

    public SysRole() {
    }

    public SysRole(Long id, String name, String code, String permissions) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.permissions = permissions;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions;
    }

    @Override
    public String toString() {
        return "SysRole{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", permissions='" + permissions + '\'' +
                '}';
    }

}
